package com.starbucks.opencase.dao;

import com.starbucks.opencase.request.reqAdminCreateAccount;
import com.starbucks.opencase.request.reqAdminLogin;
import com.starbucks.opencase.request.reqSendCode;
import com.starbucks.opencase.response.resAdminLogin;
import com.starbucks.opencase.response.resSendCode;
import com.starbucks.opencase.response.resStatus;

public interface daoAdminAccount {
    /**
     * 发送验证码
     * @param info
     * @return
     */
    resSendCode sendCode(reqSendCode info);

    /**
     * 登录
     * @param info
     * @return
     */
    resAdminLogin login(reqAdminLogin info);

    /**
     * 创建账号
     * @param info
     * @return
     */
    resStatus create(reqAdminCreateAccount info);
}
